package com.lanhao.aot.cosmic;

import com.alibaba.excel.EasyExcel;

/**
 * @BelongsProject: online-scheduler
 * @Author: zhanglei
 * @CreateTime: 2024-09-20  16:58
 * @Description:
 * @Version: 1.0
 */
public class CosmicExcelUtil {
    public static void main(String[] args) {
        String fileName =   "D:\\data.xlsx";
        // 这里 需要指定读用哪个class去读，然后读取第一个sheet 文件流会自动关闭
        EasyExcel.read(fileName, ParamModule.class, new DemoDataListener()).sheet().doRead();
    }
}



